<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
        >
<ui:composition>
    <f:loadBundle var="msg" basename="pl.pawluk.inz.web.SpringResourceBundle"/>
    <h:form prependId="true" acceptcharset="utf-8">
        <div class="menu">
            <ul>
                <li class="selected">
                    <p:commandLink value="#{msg.users}" action="usersList">
                        <f:setPropertyActionListener value="#{null}" target="#{usersBean.user}"/>
                    </p:commandLink>
                </li>
                <li>
                    <p:commandLink value="#{msg.courses}" action="coursesList">
                        <f:setPropertyActionListener value="#{null}" target="#{coursesBean.course}"/>
                    </p:commandLink>
                </li>
                <li><a href="#">demo</a></li>
                <li><a href="#">license</a></li>
                <li><a href="#">modules</a></li>
                <li><a href="#">themes</a></li>
                <li><a href="#">contact</a></li>
                <li><p:commandLink ajax="false" action="#{loginInfoBean.logout}" value="logout"/></li>
            </ul>
        </div>
    </h:form>
</ui:composition>
</html>